package com.etime.shuhuiyuan.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;

/**
 * CourseChapter
 * @TableName：表示与哪个数据表向对应；
 * @TableId(value = "coursetypeid",type = IdType.AUTO)
 * value:主键的字段名；type：主键的生成方式
 */
@TableName("chapter")
public class CourseChapter {
    @TableId(value = "chapterid",type = IdType.AUTO)
    private Integer chapterid;
    private String chaptername;
    private String chaptersummary;
    private Integer chapterpid;
    private BigDecimal chapterprice;
    private BigDecimal chapteroriginprice;
    private BigDecimal chaptercoinprice;
    private BigDecimal chaptercoinmaxpoint;
    private Integer chapterbuynum;
    private Integer chapterstate;
    private Integer chapteruserid;
    private String chapterusertruename;
    private String chaptercreatetime;
    private String chapterupdatetime;

    public Integer getChapterid() {
        return chapterid;
    }

    public void setChapterid(Integer chapterid) {
        this.chapterid = chapterid;
    }

    public String getChaptername() {
        return chaptername;
    }

    public void setChaptername(String chaptername) {
        this.chaptername = chaptername;
    }

    public String getChaptersummary() {
        return chaptersummary;
    }

    public void setChaptersummary(String chaptersummary) {
        this.chaptersummary = chaptersummary;
    }

    public Integer getChapterpid() {
        return chapterpid;
    }

    public void setChapterpid(Integer chapterpid) {
        this.chapterpid = chapterpid;
    }

    public BigDecimal getChapterprice() {
        return chapterprice;
    }

    public void setChapterprice(BigDecimal chapterprice) {
        this.chapterprice = chapterprice;
    }

    public BigDecimal getChapteroriginprice() {
        return chapteroriginprice;
    }

    public void setChapteroriginprice(BigDecimal chapteroriginprice) {
        this.chapteroriginprice = chapteroriginprice;
    }

    public BigDecimal getChaptercoinprice() {
        return chaptercoinprice;
    }

    public void setChaptercoinprice(BigDecimal chaptercoinprice) {
        this.chaptercoinprice = chaptercoinprice;
    }

    public BigDecimal getChaptercoinmaxpoint() {
        return chaptercoinmaxpoint;
    }

    public void setChaptercoinmaxpoint(BigDecimal chaptercoinmaxpoint) {
        this.chaptercoinmaxpoint = chaptercoinmaxpoint;
    }

    public Integer getChapterbuynum() {
        return chapterbuynum;
    }

    public void setChapterbuynum(Integer chapterbuynum) {
        this.chapterbuynum = chapterbuynum;
    }

    public Integer getChapterstate() {
        return chapterstate;
    }

    public void setChapterstate(Integer chapterstate) {
        this.chapterstate = chapterstate;
    }

    public Integer getChapteruserid() {
        return chapteruserid;
    }

    public void setChapteruserid(Integer chapteruserid) {
        this.chapteruserid = chapteruserid;
    }

    public String getChapterusertruename() {
        return chapterusertruename;
    }

    public void setChapterusertruename(String chapterusertruename) {
        this.chapterusertruename = chapterusertruename;
    }

    public String getChaptercreatetime() {
        return chaptercreatetime;
    }

    public void setChaptercreatetime(String chaptercreatetime) {
        this.chaptercreatetime = chaptercreatetime;
    }

    public String getChapterupdatetime() {
        return chapterupdatetime;
    }

    public void setChapterupdatetime(String chapterupdatetime) {
        this.chapterupdatetime = chapterupdatetime;
    }
}
